Skip to content

feat: add support for Astro 6#68

Merged
trueberryless merged 8 commits intomainfrom
docs/upgrade-astro
Mar 17, 2026
Merged

feat: add support for Astro 6#68
trueberryless merged 8 commits intomainfrom
docs/upgrade-astro

Conversation

@trueberryless
Copy link
Member

@trueberryless trueberryless commented Mar 11, 2026

Needs to wait for withastro/astro#15753
Needs to wait for withastro/astro#15888 as well

Summary by CodeRabbit

  • Chores

    • Updated dependencies and tooling to newer major/minor releases; documentation/site URL updated.
    • Node.js engine requirement raised to 22.12.0 or higher.
  • Breaking Changes

    • Dropped support for older framework/runtime versions; minimum supported versions for the documentation UI have been raised (Starlight ≥0.38, Astro v6 support).

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

🦋 Changeset detected

Latest commit: 0947efa

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "starlight-latest-version-docs" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for starlight-latest-version ready!

Name Link
🔨 Latest commit 0947efa
🔍 Latest deploy log https://app.netlify.com/projects/starlight-latest-version/deploys/69b9315bfc121f0008c2f4cf
😎 Deploy Preview https://deploy-preview-68--starlight-latest-version.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4cd8d933-0308-4795-b00e-4d63e304df7a

📥 Commits

Reviewing files that changed from the base of the PR and between 2b6af49 and 0947efa.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • .changeset/silent-monkeys-admire.md
  • docs/package.json
  • package.json
  • packages/starlight-latest-version/libs/config.ts
  • packages/starlight-latest-version/package.json

Walkthrough

Updated dependency and engine constraints across docs and packages: Astro and @astrojs/starlight bumped to Astro v6 / Starlight ≥0.38, several package versions updated, Node engine minimum raised to >=22.12.0, and minor config/metadata text changes and a changeset added.

Changes

Cohort / File(s) Summary
Docs package manifest
docs/package.json
Bumped astro to ^6.0.5, @astrojs/netlify to ^7.0.3, @astrojs/starlight to ^0.38.1, starlight-links-validator to ^0.20.0; changed engines.node to >=22.12.0.
Root package metadata
package.json
Updated homepage URL and raised engines.node to >=22.12.0.
Library config & messaging
packages/starlight-latest-version/libs/config.ts
Changed badge default initialization to prefault({}) and adjusted an error message header spacing/text.
Package manifest for starlight package
packages/starlight-latest-version/package.json, .changeset/silent-monkeys-admire.md
Raised peer/dev dependency requirements to Astro v6 / @astrojs/starlight ≥0.38, added a changeset noting Astro v6 support and Starlight minimum 0.38.0 (breaking).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 I nibble at upgrades, bright and small,
Astro leaps to six, I bounce and call,
Starlight shines a tad more bold,
Node grows up — that's what I told,
Hooray, new versions, let’s roll! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The PR title 'feat: add support for Astro 6' clearly and accurately summarizes the main change: upgrading Astro from v5 to v6 with supporting dependency updates.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/upgrade-astro
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added 🌏 i18n Updates to internationalized docs, excluding English 📦 package Updates in package structure or package.json labels Mar 11, 2026
@trueberryless trueberryless changed the title docs: upgrade Astro feat: add support for Astro 6 Mar 16, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/package.json`:
- Around line 29-36: The starlight-latest-version workspace plugin declares a
Starlight peer but lacks an explicit Astro peer while the docs app uses Astro 6;
update the plugin package manifest (packages/starlight-latest-version
package.json) to add a peerDependencies entry for "astro" (e.g., "astro": "^6"
or an appropriate range), run the plugin against Astro 6 to verify
compatibility, and if any dev or test tooling is pinned to Astro 5
(devDependencies or local test env pinned to 5.16.5), update those pins to a
matching 6.x version or run compatibility fixes; alternatively, if you cannot
confirm compatibility, revert the docs app Astro version to the supported Astro
5 range instead.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8881f6f7-f694-4fcc-b8c8-a2cdc896a240

📥 Commits

Reviewing files that changed from the base of the PR and between bf10134 and 2b6af49.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • docs/package.json

@github-actions github-actions bot added 📝 changeset Contains changeset files 🚧 config Configuration file updates ✒️ documentation Documentation updates, like README changes and removed 🌏 i18n Updates to internationalized docs, excluding English labels Mar 16, 2026
@trueberryless trueberryless merged commit d88a13f into main Mar 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📝 changeset Contains changeset files 🚧 config Configuration file updates ✒️ documentation Documentation updates, like README changes 📦 package Updates in package structure or package.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant